package com.guoheng.safe.sys.dto.basicinfo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import javax.validation.constraints.Size;

/**
 * 类功能描述:　ProductionPlace
 *
 * @author Eternal
 * @date 2019-28-24 9:28
 */
@Data
public class ProductionPlaceAddDTO {
    @NotBlank
    @Size(max = 50)
    private String placeName;

    @NotBlank
    @Size(max = 20)
    private String fixedAssets;

    @NotBlank
    @Size(max = 15)
    private String geographicInfo;

    @NotBlank
    @Size(max = 20)
    private String placeCode;

    @NotBlank
    @Size(max = 15)
    private String placeArea;

    @PositiveOrZero
    @NotNull
    private Integer dutyNum;

    @NotBlank
    @Size(max = 255)
    private String placeMaterial;

    private Double longitude;

    private Double latitude;
}